//static共享数据成员和共享类的方法的实训
//static Training of methods for sharing data members and sharing classes

// NOLINTBEGIN

#include <iostream>
using namespace std;
void Functionx(int i) {
  static int InitValuex = 1;
  InitValuex            = InitValuex * i;
  cout << InitValuex << endl;
}
int main() {
  int resultValue = 1;
  for (int i = 1; i < 10; i++) {
    Functionx(i);
  }
  //system("pause");
  return 0;
}
// NOLINTEND